@echo off
if "%1"=="" goto :proxy_set
set HTTP_PROXY=%1
:proxy_set
echo call this batch file with the proxy as the first argument if the gem operations fail
echo i.e. install_libs.cmd http://proxy.somewhere.com:8080
:gems
echo installing rake gem
call gem install rake
echo installing rubyscript2exe gem
call gem install rubyscript2exe